﻿using System.Collections.Generic;
using DAO;
using DTO;

namespace BUS
{
    public class LichSuTinRaoVatViPhamBUS
    {
        public static List<LichSuTinRaoVatViPhamDTO> getAll()
        {
            return LichSuTinRaoVatViPhamDAO.getAll();
        }

        public static LichSuTinRaoVatViPhamDTO getAlongCode(int maLSTRV)
        {
            return LichSuTinRaoVatViPhamDAO.getAlongCode(maLSTRV);
        }

        public static void Insert(LichSuTinRaoVatViPhamDTO _insert)
        {
            LichSuTinRaoVatViPhamDAO.Insert(_insert);
        }

        public static void Delete(int maLSTRV)
        {
            LichSuTinRaoVatViPhamDAO.Delete(maLSTRV);
        }

        public static void Update(LichSuTinRaoVatViPhamDTO dto)
        {
            LichSuTinRaoVatViPhamDAO.Update(dto);
        }
    }
}
